package com.book.vo;

import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author SuperYu  2024/8/5
 */
@Data
@ToString
public class OrderVo {
    private String orderId;
    private int userId;
    private AddressVo address;
    private String tradeNo;
    private BigDecimal total;
    private int status;
    private Date createTime;
    private Date updateTime;

    // 一对多查询
    private List<OrderItemVo> list;
}
